<%@ Control Language="C#" AutoEventWireup="true" CodeFile="Submit.ascx.cs" Inherits="Beta_fundies_controls_quotes_Submit" %>
<asp:MultiView runat="server" ID="mviewSubmit" ActiveViewIndex="0">
    <asp:View runat="server" ID="viewSubmit">
        <table width="100%" border="1">
            <tr>
                <td width="25%" align="left" valign="top">
                    <p>
                        Your name:<br />
                        <asp:TextBox runat="server" ID="txtContributor" />
                    </p>
                    <p>
                        Your email:<br />
                        <asp:TextBox runat="server" ID="txtContributorEmail" />
                    </p>
                    <p>
                        Would you like to receive credit for submitting this quote?<br />
                        <asp:RadioButtonList ID="lstCreditContributor" runat="server">
                            <asp:ListItem Selected="True">Yes</asp:ListItem>
                            <asp:ListItem>No</asp:ListItem>
                        </asp:RadioButtonList></p>
                </td>
                <td width="75%" align="left" valign="top">
                    <p>
                        Fundie:<asp:CustomValidator ID="CustomValidator1" runat="server" ControlToValidate="txtFundie"
                            EnableClientScript="False" ErrorMessage="This is a required field" OnServerValidate="CustomRequiredField"
                            ValidateEmptyText="True" ValidationGroup="AddQuote"></asp:CustomValidator><br />
                        <asp:TextBox runat="server" ID="txtFundie"
                            Width="300px"/>
                    </p>
                    <p>
                        Quote:<asp:CustomValidator ID="CustomValidator2" runat="server" ControlToValidate="txtQuote"
                            EnableClientScript="False" ErrorMessage="This is a required field" OnServerValidate="CustomRequiredField"
                            ValidateEmptyText="True" ValidationGroup="AddQuote"></asp:CustomValidator><br />
                        <asp:TextBox runat="server" ID="txtQuote"
                            TextMode="MultiLine"
                            Rows="10"
                            Columns="60" />
                    </p>
                    <p>
                        Board:<asp:CustomValidator ID="CustomValidator3" runat="server" ControlToValidate="txtBoard"
                            EnableClientScript="False" ErrorMessage="This is a required field" OnServerValidate="CustomRequiredField"
                            ValidateEmptyText="True" ValidationGroup="AddQuote"></asp:CustomValidator><br />
                        <asp:TextBox runat="server" ID="txtBoard"
                            Width="300px"/>
                    </p>
                    <p>
                        URL to original quote:<asp:CustomValidator ID="CustomValidator4" runat="server" ControlToValidate="txtURL"
                            EnableClientScript="False" ErrorMessage="This is a required field" OnServerValidate="CustomRequiredField"
                            ValidateEmptyText="True" ValidationGroup="AddQuote"></asp:CustomValidator><br />
                        <asp:TextBox runat="server" ID="txtURL"
                            Width="300px"/>
                        <asp:CustomValidator ID="CustomValidator5" runat="server" EnableClientScript="False"
                            ErrorMessage="Invalid URL" OnServerValidate="ValidateUrl" ValidationGroup="AddQuote" ControlToValidate="txtURL"></asp:CustomValidator></p>
                    <p>
                        File this post under:<br />
                        <asp:DropDownList ID="ddlArchive" runat="server" DataTextField="Title" DataValueField="ID">
                        </asp:DropDownList>
                        <asp:CustomValidator ID="CustomValidator6" runat="server" ControlToValidate="ddlArchive"
                            ErrorMessage="Invalid selection, idiot" OnServerValidate="ValidateArchive" ValidationGroup="AddQuote"></asp:CustomValidator></p>
                    <p>
                        <asp:Button runat="server" ID="btnSubmit"
                            Text="Submit" OnClick="btnSubmit_Click" ValidationGroup="AddQuote"/>
                    </p>
                </td>
            </tr>
        </table>
    </asp:View>
    <asp:View runat="server" ID="viewThanks">
        Thanks, you're a peach :) You're quote will be hovering in limbo until the FSTDT
        community passes judgement upon it.
    </asp:View>
</asp:MultiView>